package com.glsc.ngateway.platform.dto;

import cn.hutool.core.annotation.Alias;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

/**
 * @author guoj
 * @description: 导出应用详情
 * @date 2024/11/4 16:25
 */
@ToString(callSuper = true)
public class IpInfoDetailExportDto extends BaseRowModel {
    @ApiModelProperty(value = "唯一码")
    @ColumnWidth(20)
    @ExcelProperty(value = "唯一码", index = 0)
    String uniqueKey;
    @ApiModelProperty(value = "IP")
    @ColumnWidth(20)
    @ExcelProperty(value = "IP", index = 1)
    String ip;
    @ApiModelProperty(value = "虚拟机名称")
    @ColumnWidth(20)
    @ExcelProperty(value = "虚拟机名称", index = 2)
    private String virtualName;

    @ApiModelProperty(value = "系统名称")
    @ColumnWidth(20)
    @ExcelProperty(value = "系统名称", index = 3)
    String systemName;
    @ApiModelProperty(value = "应用类别")
    @ColumnWidth(20)
    @ExcelProperty(value = "应用类别", index = 4)
    String componentCategory;
    @ApiModelProperty(value = "应用名称")
    @ColumnWidth(20)
    @ExcelProperty(value = "应用名称", index = 5)
    String componentName;
    @ApiModelProperty(value = "安装路径")
    @ColumnWidth(20)
    @ExcelProperty(value = "安装路径", index = 6)
    String componentPath;
    @ApiModelProperty(value = "主灾标识 主Y备N")
    @ColumnWidth(20)
    @ExcelProperty(value = "主灾标识 主Y备N", index = 7)
    String mainOrBackup;
    @ApiModelProperty(value = "运行状态 正常Y故障N")
    @ColumnWidth(20)
    @ExcelProperty(value = "运行状态 正常Y故障N", index = 8)
    String runStatus;
    @ApiModelProperty(value = "是否独占 是Y否N")
    @ColumnWidth(20)
    @ExcelProperty(value = "是否独占 是Y否N", index = 9)
    String exclusive;
    @ApiModelProperty(value = "占用比例")
    @ColumnWidth(20)
    @ExcelProperty(value = "占用比例", index = 10)
    private String sourceAllocation;

    public String getUniqueKey() {
        return uniqueKey;
    }

    public void setUniqueKey(String uniqueKey) {
        this.uniqueKey = uniqueKey;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getVirtualName() {
        return virtualName;
    }

    public void setVirtualName(String virtualName) {
        this.virtualName = virtualName;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getComponentCategory() {
        return componentCategory;
    }

    public void setComponentCategory(String componentCategory) {
        this.componentCategory = componentCategory;
    }

    public String getComponentName() {
        return componentName;
    }

    public void setComponentName(String componentName) {
        this.componentName = componentName;
    }

    public String getComponentPath() {
        return componentPath;
    }

    public void setComponentPath(String componentPath) {
        this.componentPath = componentPath;
    }

    public String getMainOrBackup() {
        return mainOrBackup;
    }

    public void setMainOrBackup(String mainOrBackup) {
        this.mainOrBackup = mainOrBackup;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus;
    }

    public String getExclusive() {
        return exclusive;
    }

    public void setExclusive(String exclusive) {
        this.exclusive = exclusive;
    }

    public String getSourceAllocation() {
        return sourceAllocation;
    }

    public void setSourceAllocation(String sourceAllocation) {
        this.sourceAllocation = sourceAllocation;
    }
}
